package com.genius.mobile_page.pandian_jd.controller;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import com.alibaba.fastjson.JSONObject;
import com.genius.mobile_page.common.ResponseData;
import com.genius.mobile_page.pandian_jd.service.PandianjdEveryService;
import com.genius.workflow.log.ControllerLog;



@Controller
public class PandianjdEveryController {
	
	private Logger log = LoggerFactory.getLogger(PandianjdEveryController.class);
	@Autowired
    @Qualifier("pandianjdEveryService")
//	@Resource(name="PandianService")
	private PandianjdEveryService pandianjdEveryService;
	
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_index")
    public String toIndex(){
        return "/views/mobile_page/pandian_jd/jiancha_index";
    }
    @ControllerLog(description="跳转到菜单列表")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_index_list")
    public String toJiancha_index_list(){
        return "/views/mobile_page/pandian_jd/jiancha_index_list";
    }
    @ControllerLog(description="跳转到盘点前待办事项")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_daibanshixiang")
    public String toJiancha_daibanshixiang(){
        return "/views/mobile_page/pandian_jd/jiancha_daibanshixiang";
    }
    @ControllerLog(description="跳转到盘点常规盘点")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_changguipandian")
    public String toJiancha_changguipandian(){
        return "/views/mobile_page/pandian_jd/jiancha_changguipandian";
    }
    @ControllerLog(description="跳转到盘点问题反馈")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_wentifankui")
    public String toJiancha_wentifankui(){
        return "/views/mobile_page/pandian_jd/jiancha_wentifankui";
    }
    @ControllerLog(description="跳转到门店代办事项")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_daibanshixiang")
    public String toPandian_daibanshixiang(){
        return "/views/mobile_page/pandian_jd/pandian_daibanshixiang";
    }
    @ControllerLog(description="跳转到盘点检查必盘项")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_bipan")
    public String toJiancha_bipan(){
        return "/views/mobile_page/pandian_jd/jiancha_bipan";
    }
    @ControllerLog(description="跳转到盘点评价")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_pingjia")
    public String toJiancha_pingjia(){
        return "/views/mobile_page/pandian_jd/jiancha_pingjia";
    }
    @ControllerLog(description="跳转到盘点资材菜单")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_zicai_list")
    public String toPandian_zicai_list(){
        return "/views/mobile_page/pandian_jd/pandian_zicai_list";
    }
    @ControllerLog(description="跳转到盘点资材录入")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_zicai")
    public String toPandian_zicai(){
        return "/views/mobile_page/pandian_jd/pandian_zicai";
    }
    @ControllerLog(description="跳转到盘点资材差异")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_zicai_chayi")
    public String toPandian_zicai_chayi(){
        return "/views/mobile_page/pandian_jd/pandian_zicai_chayi";
    }
    @ControllerLog(description="跳转到盘点结果")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_jieguo")
    public String toJiancha_jieguo(){
        return "/views/mobile_page/pandian_jd/jiancha_jieguo";
    }
    @ControllerLog(description="跳转到盘点结果详情")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_jieguo_detail")
    public String toJiancha_jieguo_detail(){
        return "/views/mobile_page/pandian_jd/jiancha_jieguo_detail";
    }
    @ControllerLog(description="跳转到盘点进度")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_jindu")
    public String toPandian_jindu(){
        return "/views/mobile_page/pandian_jd/pandian_jindu";
    }
    @ControllerLog(description="跳转到盘点进度详情")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_jindu_detail")
    public String toPandian_jindu_detail(){
        return "/views/mobile_page/pandian_jd/pandian_jindu_detail";
    }
    @ControllerLog(description="跳转到盘点检查代办事项")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_pandian_daibanshixiang")
    public String toJiancha_pandian_daibanshixiang(){
        return "/views/mobile_page/pandian_jd/jiancha_pandian_daibanshixiang";
    }
    @ControllerLog(description="跳转到盘点检查代办事项回复")
    @RequestMapping("/mobile_page/pandian_jd/toJiancha_pandian_daibanshixiang_huifu")
    public String toJiancha_pandian_daibanshixiang_huifu(){
        return "/views/mobile_page/pandian_jd/jiancha_pandian_daibanshixiang_huifu";
    }
    @ControllerLog(description="跳转到附近门店")
    @RequestMapping("/mobile_page/pandian_jd/toShop")
    public String toShop(){
        return "/views/mobile_page/pandian_jd/shop";
    }
    @ControllerLog(description="跳转到门店签到")
    @RequestMapping("/mobile_page/pandian_jd/toShop_daodian")
    public String toShop_daodian(){
        return "/views/mobile_page/pandian_jd/shop_daodian";
    }
    @ControllerLog(description="跳转到盘点检视")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_jianshi")
    public String toPandian_jianshi(){
        return "/views/mobile_page/pandian_jd/pandian_jianshi";
    }
    @ControllerLog(description="跳转到盘点检视详情")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_jianshi_detail")
    public String toPandian_jianshi_detail(){
        return "/views/mobile_page/pandian_jd/pandian_jianshi_detail";
    }
    @ControllerLog(description="跳转到今度盘点紧急添加")
    @RequestMapping("/mobile_page/pandian_jd/toPandian_jinji")
    public String toPandian_jinji(){
        return "/views/mobile_page/pandian_jd/pandian_jinji";
    }
    
    @ControllerLog(description="查询盘点检查信息")
	@PostMapping("/mobile_page/pandianevery_jd/getPandianJiancha")
    @ResponseBody
    public ResponseData getPandianJiancha(@RequestBody JSONObject parms){
//		log.info("查询盘点检查信息请求--->"+parms);
		ResponseData resData = pandianjdEveryService.getPandianJiancha(parms);
//		log.info("查询盘点检查信息返回值--->"+resData);
        return resData;
	}
    @ControllerLog(description="编辑更新盘点信息")
	@PostMapping("/mobile_page/pandianevery_jd/updatePandianJiancha")
    @ResponseBody
    public ResponseData updatePandianJiancha(@RequestBody JSONObject parms){
//		log.info("编辑更新盘点信息请求--->"+parms);
		ResponseData resData = pandianjdEveryService.updatePandianJiancha(parms);
//		log.info("编辑更新盘点信息返回值--->"+resData);
        return resData;
	}
    @ControllerLog(description="查询盘点检查状态信息")
	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianchaFlag")
    @ResponseBody
    public ResponseData getPandianJianchaFlag(@RequestBody JSONObject parms){
//		log.info("查询盘点检查状态信息请求--->"+parms);
		ResponseData resData = pandianjdEveryService.getPandianJianchaFlag(parms);
//		log.info("查询盘点检查状态信息返回值--->"+resData);
        return resData;
	}
    @ControllerLog(description="查询盘点检查信息详情")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianchaInfo")
       @ResponseBody
       public ResponseData getPandianJianchaInfo(@RequestBody JSONObject parms){
//   		log.info("查询盘点检查信息详情请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianJianchaInfo(parms);
//   		log.info("查询盘点检查信息详情返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点检查前待办信息列表")
	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianShopDaibanList")
    @ResponseBody
    public ResponseData getPandianJianShopDaibanList(@RequestBody JSONObject parms){
//		log.info("查询盘点检查前待办信息列表请求--->"+parms);
		ResponseData resData = pandianjdEveryService.getPandianJianShopDaibanList(parms);
//		log.info("查询盘点检查前待办信息列表返回值--->"+resData);
        return resData;
	}
    @ControllerLog(description="查询盘点检查前待办信息")
	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianShopDaiban")
    @ResponseBody
    public ResponseData getPandianJianShopDaiban(@RequestBody JSONObject parms){
//		log.info("查询盘点检查前待办信息请求--->"+parms);
		ResponseData resData = pandianjdEveryService.getPandianJianShopDaiban(parms);
//		log.info("查询盘点检查前待办信息返回值--->"+resData);
        return resData;
	}
    @ControllerLog(description="更新盘点检查前待办信息")
   	@PostMapping("/mobile_page/pandianevery_jd/editPandianJianShopDaiban")
       @ResponseBody
       public ResponseData editPandianJianShopDaiban(@RequestBody JSONObject parms){
//   		log.info("更新盘点检查前待办信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.editPandianJianShopDaiban(parms);
//   		log.info("更新盘点检查前待办信息返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="插入并更新盘点必填项信息")
   	@PostMapping("/mobile_page/pandianevery_jd/replacePandianJianBipan")
       @ResponseBody
       public ResponseData replacePandianJianBipan(@RequestBody JSONObject parms){
//   		log.info("插入并更新盘点必填项信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.replacePandianJianBipan(parms);
//   		log.info("插入并更新盘点必填项信息返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="获取盘点检查必填项信息")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianBipan")
       @ResponseBody
       public ResponseData getPandianJianBipan(@RequestBody JSONObject parms){
//   		log.info("获取盘点检查必填项信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianJianBipan(parms);
//   		log.info("获取盘点检查必填项信息返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="插入并更新常规检查信息")
   	@PostMapping("/mobile_page/pandianevery_jd/replacePandianJianchaChanggui")
       @ResponseBody
       public ResponseData replacePandianJianchaChanggui(@RequestBody JSONObject parms){
//   		log.info("插入并更新常规检查信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.replacePandianJianchaChanggui(parms);
//   		log.info("插入并更新常规检查信息返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="获取盘点检查常规检查信息")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianchaChanggui")
       @ResponseBody
       public ResponseData getPandianJianchaChanggui(@RequestBody JSONObject parms){
//   		log.info("获取盘点检查常规检查信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianJianchaChanggui(parms);
//   		log.info("获取盘点检查常规检查信息返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="获取问题反馈")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianchaWentifankui")
       @ResponseBody
       public ResponseData getPandianJianchaWentifankui(@RequestBody JSONObject parms){
//   		log.info("获取问题反馈请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianJianchaWentifankui(parms);
//   		log.info("获取问题反馈返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="插入问题反馈")
   	@PostMapping("/mobile_page/pandianevery_jd/updatePandianJianchaWentifankui")
       @ResponseBody
       public ResponseData updatePandianJianchaWentifankui(@RequestBody JSONObject parms){
//   		log.info("插入问题反馈请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.updatePandianJianchaWentifankui(parms);
//   		log.info("插入问题反馈返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="更新问题反馈")
   	@PostMapping("/mobile_page/pandianevery_jd/insertPandianJianchaWentifankui")
       @ResponseBody
       public ResponseData insertPandianJianchaWentifankui(@RequestBody JSONObject parms){
//   		log.info("更新问题反馈请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.insertPandianJianchaWentifankui(parms);
//   		log.info("更新问题反馈返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="回复问题反馈")
   	@PostMapping("/mobile_page/pandianevery_jd/huifuPandianJianchaWentifankui")
       @ResponseBody
       public ResponseData huifuPandianJianchaWentifankui(@RequestBody JSONObject parms){
//   		log.info("回复问题反馈请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.huifuPandianJianchaWentifankui(parms);
//   		log.info("回复问题反馈返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点检查评价")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianPingjiaItem")
       @ResponseBody
       public ResponseData getPandianPingjiaItem(@RequestBody JSONObject parms){
//   		log.info("查询盘点检查评价请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianPingjiaItem(parms);
//   		log.info("查询盘点检查评价返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点检查评价")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianchaPingjia")
       @ResponseBody
       public ResponseData getPandianJianchaPingjia(@RequestBody JSONObject parms){
//   		log.info("查询盘点检查评价请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianJianchaPingjia(parms);
//   		log.info("查询盘点检查评价返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点检查评价")
   	@PostMapping("/mobile_page/pandianevery_jd/replacePandianJianchaPingjia")
       @ResponseBody
       public ResponseData replacePandianJianchaPingjia(@RequestBody JSONObject parms){
//   		log.info("查询盘点检查评价请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.replacePandianJianchaPingjia(parms);
//   		log.info("查询盘点检查评价返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询门店资材")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianShopZicai")
       @ResponseBody
       public ResponseData getPandianShopZicai(@RequestBody JSONObject parms){
//   		log.info("查询门店资材请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianShopZicai(parms);
//   		log.info("查询门店资材返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点门店资材")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianchaZicai")
       @ResponseBody
       public ResponseData getPandianJianchaZicai(@RequestBody JSONObject parms){
//   		log.info("查询盘点门店资材请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianJianchaZicai(parms);
//   		log.info("查询盘点门店资材返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="跟新盘点门店资材")
   	@PostMapping("/mobile_page/pandianevery_jd/replacePandianJianchaZicai")
       @ResponseBody
       public ResponseData replacePandianJianchaZicai(@RequestBody JSONObject parms){
//   		log.info("跟新盘点门店资材请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.replacePandianJianchaZicai(parms);
//   		log.info("跟新盘点门店资材返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点门店资材和门店资材")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianShopZicaiPandianZicai")
       @ResponseBody
       public ResponseData getPandianShopZicaiPandianZicai(@RequestBody JSONObject parms){
//   		log.info("查询盘点门店资材和门店资材请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianShopZicaiPandianZicai(parms);
//   		log.info("查询盘点门店资材和门店资材返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="修改盘点门店资材状态")
   	@PostMapping("/mobile_page/pandianevery_jd/editPandianJianchaZicaiFlag")
       @ResponseBody
       public ResponseData editPandianJianchaZicaiFlag(@RequestBody JSONObject parms){
//   		log.info("修改盘点门店资材状态请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.editPandianJianchaZicaiFlag(parms);
//   		log.info("修改盘点门店资材状态返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="插入标准盘点")
   	@PostMapping("/mobile_page/pandianevery_jd/insertPandianJianchaBiaozhun")
       @ResponseBody
       public ResponseData insertPandianJianchaBiaozhun(@RequestBody JSONObject parms){
//   		log.info("插入标准盘点请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.insertPandianJianchaBiaozhun(parms);
//   		log.info("插入标准盘点返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点进度信息")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianJindu")
       @ResponseBody
       public ResponseData getPandianJindu(@RequestBody JSONObject parms){
//   		log.info("查询盘点进度信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianJindu(parms);
//   		log.info("查询盘点进度信息返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点回复")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianHuifu")
       @ResponseBody
       public ResponseData getPandianHuifu(@RequestBody JSONObject parms){
//   		log.info("查询盘点回复请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianHuifu(parms);
//   		log.info("查询盘点回复返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="回复盘点")
   	@PostMapping("/mobile_page/pandianevery_jd/huifuPandian")
       @ResponseBody
       public ResponseData huifuPandian(@RequestBody JSONObject parms){
//   		log.info("回复盘点请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.huifuPandian(parms);
//   		log.info("回复盘点返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="总结盘点")
   	@PostMapping("/mobile_page/pandianevery_jd/zongjiePandian")
       @ResponseBody
       public ResponseData zongjiePandian(@RequestBody JSONObject parms){
//   		log.info("总结盘点请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.zongjiePandian(parms);
//   		log.info("总结盘点返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="获取盘点待回复信息")
   	@PostMapping("/mobile_page/pandianevery_jd/pandianDaihuifu")
       @ResponseBody
       public ResponseData pandianDaihuifu(@RequestBody JSONObject parms){
//   		log.info("获取盘点待回复信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.pandianDaihuifu(parms);
//   		log.info("获取盘点待回复信息返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="获取反馈待回复信息")
   	@PostMapping("/mobile_page/pandianevery_jd/FankuiDaihuifu")
       @ResponseBody
       public ResponseData FankuiDaihuifu(@RequestBody JSONObject parms){
//   		log.info("获取反馈待回复信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.FankuiDaihuifu(parms);
//   		log.info("获取反馈待回复信息返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="获取查询盘点回复")
   	@PostMapping("/mobile_page/pandianevery_jd/getBuhegeBiaozhun")
       @ResponseBody
       public ResponseData getBuhegeBiaozhun(@RequestBody JSONObject parms){
//   		log.info("获取查询盘点回复请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getBuhegeBiaozhun(parms);
//   		log.info("获取查询盘点回复返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点检查到店")
   	@PostMapping("/mobile_page/pandianevery_jd/getPandianJianchaDaodian")
       @ResponseBody
       public ResponseData getPandianJianchaDaodian(@RequestBody JSONObject parms){
//   		log.info("查询盘点检查到店请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getPandianJianchaDaodian(parms);
//   		log.info("查询盘点检查到店返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="更新编辑盘点检查到店")
   	@PostMapping("/mobile_page/pandianevery_jd/replacePandianJianchaDaodian")
       @ResponseBody
       public ResponseData replacePandianJianchaDaodian(@RequestBody JSONObject parms){
//   		log.info("更新编辑盘点检查到店请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.replacePandianJianchaDaodian(parms);
//   		log.info("更新编辑盘点检查到店返回值--->"+resData);
           return resData;
   	}
    @ControllerLog(description="查询盘点门店位置信息")
   	@PostMapping("/mobile_page/pandianevery_jd/getShopWeizhi")
       @ResponseBody
       public ResponseData getShopWeizhi(@RequestBody JSONObject parms){
   		log.info("查询盘点门店位置信息请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.getShopWeizhi(parms);
   		log.info("查询盘点门店位置信息返回值--->"+resData);
           return resData;
   	}


    @ControllerLog(description="添加今度紧急盘点")
   	@PostMapping("/mobile_page/pandianevery_jd/insertPandianJianchajinji")
       @ResponseBody
       public ResponseData getShopWinsertPandianJianchajinjieizhi(@RequestBody JSONObject parms){
   		log.info("添加今度紧急盘点请求--->"+parms);
   		ResponseData resData = pandianjdEveryService.insertPandianJianchajinji(parms);
   		log.info("添加今度紧急盘点返回值--->"+resData);
           return resData;
   	}
}

